// Icon.v
//
// Description:
// ------------
//
//
//
// Input(s) :
// rst, clk, pixel_row, pixel_column, Loc_X, Loc_Y, BotInfo
// Output(s):
// icon
// 
// Copyright Jabeer Ahmed and Caleb Mathisen, 2014
// 
// Created By:      Caleb Mathisen
// Author(s) :      Jabeer Ahmed, Caleb Mathisen
// Last Modified:   1/19/2014
//
// Revision History:
// -----------------
///////////////////////////////////////////////////////////////////////////

`timescale 1ns / 1ns

module Icon_Dot (
    input               rst,                // Reset
    input               clk,                // 25 MHz clock
    input       [7:0]   pixel_row,          // pixel row (from dtg)     [0-127]
    input       [7:0]   pixel_column,       // pixel col (from dtg)     [0-127]
    input       [7:0]   Loc_X,              // bot loc x (from botSIM)  [0-127]
    input       [7:0]   Loc_Y,              // bot loc y (from botSIM)  [0-127]
    input       [7:0]   BotInfo,            // bot orientation (from botSIM)
    output reg  [1:0]   icon = 2'b0         // icon pixel (from iconizer)
);

    always @(posedge clk) begin
       if ((pixel_column == Loc_X) && (pixel_row == Loc_Y))
		     icon <= 2'b01;
       else
           icon <= 2'b00;		 
	end

endmodule